package com.ruiysoft.entity.logistics;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author auto
 * @since 2018-12-01
 */
@TableName("logistics_subscribe")
public class LogisticsSubscribe extends Model<LogisticsSubscribe> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("subscribe_id")
    private String subscribeId;

    private String subscriber;

    @TableField("express_no")
    private String expressNo;

    @TableField("express_com")
    private String expressCom;

    @TableField("check_status")
    private Boolean checkStatus;

    public Integer getId() {
        return id;
    }

    public LogisticsSubscribe setId(Integer id) {
        this.id = id;
        return this;
    }
    public String getSubscribeId() {
        return subscribeId;
    }

    public LogisticsSubscribe setSubscribeId(String subscribeId) {
        this.subscribeId = subscribeId;
        return this;
    }
    public String getSubscriber() {
        return subscriber;
    }

    public LogisticsSubscribe setSubscriber(String subscriber) {
        this.subscriber = subscriber;
        return this;
    }
    public String getExpressNo() {
        return expressNo;
    }

    public LogisticsSubscribe setExpressNo(String expressNo) {
        this.expressNo = expressNo;
        return this;
    }
    public String getExpressCom() {
        return expressCom;
    }

    public LogisticsSubscribe setExpressCom(String expressCom) {
        this.expressCom = expressCom;
        return this;
    }
    public Boolean getCheckStatus() {
        return checkStatus;
    }

    public LogisticsSubscribe setCheckStatus(Boolean checkStatus) {
        this.checkStatus = checkStatus;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LogisticsSubscribe{" +
        "id=" + id +
        ", subscribeId=" + subscribeId +
        ", subscriber=" + subscriber +
        ", expressNo=" + expressNo +
        ", expressCom=" + expressCom +
        ", checkStatus=" + checkStatus +
        "}";
    }
}
